package cn.ncu.wechat.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 积分规则表
 * @TableName points_rule
 */
@TableName(value ="points_rule")
@Data
public class PointsRule implements Serializable {
    /**
     * 注册赠送积分
     */
    private Integer registerPoints;

    /**
     * 消费获得积分比例
     */
    private BigDecimal consumePointsRate;

    /**
     * 最低获得积分的消费金额
     */
    private BigDecimal minConsumeAmount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}